const expressJwt=require("express-jwt")

const jwtAuth=expressJwt({
	secret:"yang",
	algorithms:["HS256"]
}).unless({
	path:["/users/login","users/register"]
})

module.exports=jwtAuth